import common from "./common";

/**
 * 匿名访问api
 */
const anonApi = {
    getWeixinOpenSetting: (data, success, error) => {
        return common.requestData("/anon/getWeixinOpenSetting.action", data, success, error);
    },
    wxLogin: (data, success, error) => {
        return common.requestData("/anon/wxLogin.action", data, success, error);
    },
    checkAccountSet: (data, success, error) => {
        return common.requestData("/anon/checkAccountSet.action", data, success, error);
    },
    regClient: (data, success, error) => {
        return common.requestData("/anon/regClient.action", data, success, error);
    },
    getAccountSetState: (data, success, error) => {
        return common.requestData("/anon/getAccountSetState.action", data, success, error);
    },
};

export default anonApi;
